From: Lars Ingebrigtsen Date: Sun, 6 Feb 2022 00:00:04 +0000 (+0100) Subject: Improve the elp-instrument-package doc string X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2938 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ab0554a19774de193ff08aee35ea3f6726cf1f76;p=emacs.git Improve the elp-instrument-package doc string * lisp/emacs-lisp/elp.el (elp-instrument-package): Note the effect of loading further files (bug#13252). --- diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el index e5c94c09c27..385ddb3f414 100644 --- a/lisp/emacs-lisp/elp.el +++ b/lisp/emacs-lisp/elp.el @@ -287,7 +287,12 @@ type \"nil\" to use `elp-function-list'." "Instrument for profiling, all functions which start with PREFIX. For example, to instrument all ELP functions, do the following: - \\[elp-instrument-package] RET elp- RET" + \\[elp-instrument-package] RET elp- RET + +Note that only functions that are currently loaded will be +instrumented. If you run this function, and then later load +further functions that start with PREFIX, they will not be +instrumented automatically." (interactive (list (completing-read "Prefix of package to instrument: " obarray 'elp-profilable-p)))